package ar.com.tallerdos.smartdinner.cocina;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainSelection extends Activity {

	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
				
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_login);
	
	}
	
	
	public void onBtnClickedCoffe(View v)
    { 
		LoginActivity.setLoginTipo(2);
		
		Intent intent = new Intent(this, LoginActivity.class);
		startActivity(intent);
		
		/*MainActivity.setModoEjecucion(2);
		MainActivity.getDoingProducts().clear();
		Intent intent = new Intent(this, MainActivity.class);
		startActivity(intent);
		*/
    }
	
	public void onBtnClickedCook(View v)
    {
		LoginActivity.setLoginTipo(1);
		
		Intent intent = new Intent(this, LoginActivity.class);
		startActivity(intent);
		
		/*MainActivity.setModoEjecucion(1);
		MainActivity.getDoingProducts().clear();
		Intent intent = new Intent(this, MainActivity.class);
		startActivity(intent);
		*/
    }

}
